/**
 * Created by Administrator on 2016/9/19.
 */
(function(app){

    app.directive('navClick',  function() {
        return {
            restrict: 'A',
            template :  '<span></span>\
                         <span></span>',
            link: function(scope,element,attrs) {
                element.bind('click',function(){
                        $(this).toggleClass("mobile-inner-header-icon-click mobile-inner-header-icon-out");
                        $(".mobile-inner-nav").slideToggle(500);
                    }
                );
            }
        };
    })
})(angular.module(APP_NAME));